home *** CD-ROM | disk | FTP | other *** search
/ Champak 120 / Vol 120.iso / games / fratboy_.swf / scripts / DefineSprite_1002_animationsss / frame_1 / DoAction.as
Text File  |  2010-11-09  |  614b  |  31 lines

  1. if(_root.currentCreepWave <= 8)
  2. {
  3.    gotoAndStop("anim1");
  4.    play();
  5. }
  6. else if(_root.currentCreepWave > 8 && _root.currentCreepWave <= 14)
  7. {
  8.    gotoAndStop("anim2");
  9.    play();
  10. }
  11. else if(_root.currentCreepWave > 14 && _root.currentCreepWave <= 22)
  12. {
  13.    gotoAndStop("anim3");
  14.    play();
  15. }
  16. else if(_root.currentCreepWave > 22 && _root.currentCreepWave <= 30)
  17. {
  18.    gotoAndStop("anim4");
  19.    play();
  20. }
  21. else if(_root.currentCreepWave > 30 && _root.currentCreepWave <= 38)
  22. {
  23.    gotoAndStop("anim5");
  24.    play();
  25. }
  26. else if(_root.currentCreepWave > 40)
  27. {
  28.    gotoAndStop("anim6");
  29.    play();
  30. }
  31.